package com.mlizhi.modules.spec.dao.model;

import java.util.Date;


public class DetectModel {

	private Long id;//primary key 
	private int partType; // the part of body (such as eye ,neck ,hand ,face and so on)
	private int detectType;// the type of this detection (such as water ,oil,mirror and so on) 
	private int nurserType;// before or after using some mark-up products.
	private double detectValue; // this detection result 
	private Date insertTime; // this detection time
	private String userId; // the userId ,sometime many people use their account and the same device.
	
	public DetectModel() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
	
	
	public DetectModel(Long id) {
		super();
		this.id = id;
	}




	public DetectModel(Long id, int partType, int detectType, int nurserType,
			double detectValue, String userId, Date insertTime) {
		super();
		this.id = id;
		this.partType = partType;
		this.detectType = detectType;
		this.nurserType = nurserType;
		this.detectValue = detectValue;
		this.insertTime = insertTime;
		this.userId = userId;
	}



	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public int getPartType() {
		return partType;
	}
	public void setPartType(int partType) {
		this.partType = partType;
	}
	public int getDetectType() {
		return detectType;
	}
	public void setDetectType(int detectType) {
		this.detectType = detectType;
	}
	public int getNurserType() {
		return nurserType;
	}
	public void setNurserType(int nurserType) {
		this.nurserType = nurserType;
	}
	public double getDetectValue() {
		return detectValue;
	}
	public void setDetectValue(double detectValue) {
		this.detectValue = detectValue;
	}
	public Date getInsertTime() {
		return insertTime;
	}
	public void setInsertTime(Date insertTime) {
		this.insertTime = insertTime;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	@Override
	public String toString() {
		return "DetectModel [id=" + id + ", partType=" + partType
				+ ", detectType=" + detectType + ", nurserType=" + nurserType
				+ ", detectValue=" + detectValue + ", insertTime=" + insertTime
				+ ", userId=" + userId + "]";
	}
	
	
	
}
